/**
 * jims
 */
package com.jims.master.modules.base.user.service;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.base.user.dao.ExamPresentationDao;
import com.jims.master.modules.base.user.entity.ExamPresentation;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Service
 * @author 系统管理员
 * @version 2018-07-12
 */
@Service
@Transactional(readOnly = true)
public class ExamPresentationService extends CrudService<ExamPresentationDao, ExamPresentation> {

	public ExamPresentation get(String id) {
		return super.get(id);
	}

	public List<ExamPresentation> getPasc(String accessionno) {
		return dao.getPasc(accessionno);
	}
	
	public List<ExamPresentation> findList(ExamPresentation examPresentation) {
		return super.findList(examPresentation);
	}
	
	public Page<ExamPresentation> findPage(Page<ExamPresentation> page, ExamPresentation examPresentation) {
		return super.findPage(page, examPresentation);
	}
	
	@Transactional(readOnly = false)
	public int save(ExamPresentation examPresentation) {
		return super.save(examPresentation);
	}
	
	@Transactional(readOnly = false)
	public int delete(ExamPresentation examPresentation) {
		return super.delete(examPresentation);
	}
	
}